export default {
  props: {
    value: [Array, String],
    row: Object,
    options: Object
  },
  render(h) {
    var _opts = this.options || {}
    if (Array.isArray(this.value)) {
      var items = this.value.map(item => {
        return h('el-breadcrumb-item', {}, item)
      })
      return h(
        'el-breadcrumb',
        {
          attrs: Object.assign(_opts, {})
        },
        items
      )
    }
    return h('span', {}, this.value)
  }
}
